import React from 'react';
import { Select } from 'antd';
import {STATIC} from '@/services/config';

class OrganizationSelect extends React.Component {
  constructor (props) {
    super(props);
    this.state={
      list: []
    }
  }

  render () {
    const props = this.props;
    const list = STATIC.budgetSourceType;
    return (
      <Select placeholder="请选择预算来源" {...props}>
        {list.map((item) => (
          <Select.Option value={item.value} key={item.value}>{item.name}</Select.Option>
        ))}
      </Select>
    )
  }
}

export default OrganizationSelect